import { MockAdapter } from '@/mock/mock-adapter';
const mock = MockAdapter.getInstance();

import Mock from 'mockjs'
const Random = Mock.Random;

// 获取应用数据
mock.onGet('v7/indexappmenu').reply((config: any) => {
    let status = MockAdapter.mockStatus(config);
    return [status, {
        name: 'appmenu',
        items:  [
            {
	id: '0F92CD84-D833-41BE-93CD-BA1A1225469E',
	name: 'menuitem6',
	text: '首页',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '首页',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: true,
	iconcls: 'fa fa-home',
	icon: '',
	textcls: '',
	appfunctag: 'EhrPortal',
	resourcetag: '',
},
            {
	id: '32A14A67-DCE3-4FFF-AE07-CFAF9BAA9956',
	name: 'menuitem1',
	text: '组织管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '组织管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/jcgl/1/hetongguanli.png',
	textcls: '',
	appfunctag: 'EHROrm',
	resourcetag: '',
},
            {
	id: 'C1650E4A-B02E-4AA0-80F4-845867CF1A74',
	name: 'menuitem2',
	text: '基础管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '基础管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/jcgl/1/gerenxinxi.png',
	textcls: '',
	appfunctag: 'EHRPim',
	resourcetag: '',
},
            {
	id: '2B856896-661C-43B3-B819-9EAED44F8FB5',
	name: 'menuitem3',
	text: '招聘管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '招聘管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/pzgl/1/xiaoyuanzhaopin.png',
	textcls: '',
	appfunctag: 'EHRPcm',
	resourcetag: '',
},
            {
	id: '737F99E3-1510-4A3D-B2E6-2C9697FC94AF',
	name: 'menuitem4',
	text: '人员异动',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '人员异动',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/zzgl/1/xiangmurenyuanpeizhi.png',
	textcls: '',
	appfunctag: 'EHRPcm2',
	resourcetag: '',
},
            {
	id: 'A2924D79-9F36-410F-986B-2919301E93FB',
	name: 'menuitem5',
	text: '假勤管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '假勤管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/kaiqinguanli.png',
	textcls: '',
	appfunctag: 'EHRAtt',
	resourcetag: '',
},
        ],
    }];
});

